import { useSelector } from "react-redux"
import RouterView from "./router/routerView"
import { ConfigProvider } from "antd"
// import './App.css'

function App() {
 const primary = useSelector(state => state.themeSlice.primary)
  return (
    <ConfigProvider theme={{token:{colorPrimary:primary}}}>
      <RouterView />
    </ConfigProvider>
   
  )
}

export default App
